<!DOCTYPE html>
<title>Test for bug 525229</title>
<body>
<script>
document.write("<script src='data:text/javascript,'><\/script><div>");
</script>
text
